//@ts-ignore 忽略ts校验
import router from '@/router/index'

export const routerLogin = () => {
  console.log("路由跳转...")
  //获取路由器
  router.push({ path: "/login" });
};

export const routerHome = () => {
  //获取路由器
  router.push({ path: "/home" });
};

//刷新
export const routerReload = ()=>{
  router.go(0);
}

export const routerIndex = () => {
  //获取路由器
  router.push({ path: "/index" });
};



